/*-- Plasmalanze --*/

#strict 2
#include WEPN


public func Initialize()
{
return(_inherited());
}

public func HandSize() { return(1000); }
public func HandX() { return(3000); }
public func HandY() { return(0); }

public func FMData1(int data) 
{
if (data == FM_Name)       return("$Blitz$");
if (data == FM_AmmoID)     return(ENAM);
if (data == FM_AmmoLoad)   return(60);
if (data == FM_AmmoUsage)  return(20);
if (data == FM_Reload)     return(36*6);
if (data == FM_Recharge)   return(36*3);
if (data == FM_Damage)     return(0);

return(Default(data));
}


public func Fire1()
{
var user = GetUser();
var x,y;
user->WeaponEnd(x,y);
x = GetX()+x;
y = GetY()+y;
var angle = user->AimAngle(); 
var xad = +Sin(angle,360);
var yad = -Cos(angle,360);
LaunchLightning(x,y,xad/32,0,yad/32,0);
LaunchLightning(x,y,xad/32,0,yad/32,0);
LaunchLightning(x,y,xad/32,0,yad/32,0);
}
